package com.sm.healthy.ui.fragment

import android.os.Bundle
import androidx.fragment.app.Fragment
import com.sm.healthy.R
import com.sm.healthy.base.BaseFragment
import com.sm.healthy.base.handle.TopHandle
import com.sm.healthy.databinding.FragmentFetalHeartReplayBinding
import com.sm.healthy.model.MainViewModel
import me.hgj.jetpackmvvm.ext.nav


/**
 * A simple [Fragment] subclass.
 * Use the [FetalHeartReplayFragment.newInstance] factory method to
 * create an instance of this fragment.
 */
class FetalHeartReplayFragment :
    BaseFragment<MainViewModel, FragmentFetalHeartReplayBinding>() {

    override fun layoutId(): Int {
        return R.layout.fragment_fetal_heart_replay
    }

    override fun initView(savedInstanceState: Bundle?) {
        mDatabind.handle = TopHandle(nav())
    }
}